Skip to content

Commit

Permalink
add github token to landing
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Jun 27, 2024
1 parent 7f82498 commit d66dd05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/landing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches:
- main
paths:
- 'landing/**'
- 'scripts/landing_links.js'
- "landing/**"
- "scripts/landing_links.js"
workflow_dispatch:

# Allow this job to clone the repo and create a page deployment
Expand All @@ -18,7 +18,7 @@ permissions:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
group: "pages"
cancel-in-progress: false

jobs:
Expand Down Expand Up @@ -47,12 +47,14 @@ jobs:
- name: Build
run: bun run build
working-directory: landing
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
with:
# this should match the `pages` option in your adapter-static options
path: 'landing/build/'
path: "landing/build/"

deploy:
needs: build
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pnpm-lock.yaml
package-lock.json
yarn.lock
*.yaml
*.yml

0 comments on commit d66dd05

Please sign in to comment.