Skip to content

Commit

Permalink
Add app id, GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
colepeters committed Mar 13, 2024
1 parent e2ee3c4 commit 87f4ee3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .arc
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ enhance/arc-plugin-enhance
enhance/arc-plugin-styles
enhance/styles-cribsheet
enhance/arc-image-plugin

@begin
appID D4TRJ5JH
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Node CI

# Push tests pushes; PR tests merges
on: [ push ]

defaults:
run:
shell: bash

jobs:
# Deploy the build
deploy_staging:
name: Deploy staging
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
concurrency:
group: staging_${{ github.repository }}

steps:
- name: Check out repo
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4

- name: Install
run: npm ci

- name: Deploy to staging
uses: beginner-corp/actions/deploy@main
with:
begin_token: ${{ secrets.BEGIN_TOKEN }}
begin_env_name: staging
channel: 'main'

- name: Image Cache Warming
run: npx @enhance/image warm --directory /public --domain https://nature-l2p.begin.app

0 comments on commit 87f4ee3

Please sign in to comment.