Skip to content

Commit

Permalink
CI: Update actions
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Barker <paul@pbarker.dev>
  • Loading branch information
pbrkr committed Apr 27, 2024
1 parent 02fd8c6 commit c3670b8
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python 3.12
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
rmdir minified
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: public
path: public
Expand All @@ -69,16 +69,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: public
path: public

- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@v1
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: pbarker
directory: public
branch: ${{ github.ref_name }}
command: pages deploy public --project-name=pbarker

0 comments on commit c3670b8

Please sign in to comment.