Skip to content

Commit

Permalink
fix: fix GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oriverk committed Oct 12, 2024
1 parent a1f2f22 commit 2571775
Show file tree
Hide file tree
Showing 3 changed files with 1,007 additions and 652 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ jobs:
name: build and deploy to Cloudflare Pages
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Run a build step here if your project requires
- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: create dotenv
run: |
touch .env
echo "SECRET_GH_PAT={{ secrets.SECRET_GH_PAT }}" >> .env
- name: install packages and build
run: |
Expand All @@ -33,6 +38,7 @@ jobs:
env:
MODE: production
SECRET_GH_PAT: ${{ secrets.SECRET_GH_PAT }}

- name: deploy to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
Expand Down
Loading

0 comments on commit 2571775

Please sign in to comment.