Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CodexAdrian committed Feb 1, 2024
1 parent f7f8d40 commit 85f1aa3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
# Specify to run a workflow manually from the Actions tab on GitHub
workflow_dispatch:

# Gives the workflow permissions to clone the repo and create a page deployment
permissions:
id-token: write
pages: write

env:
# Name of module and id separated by a slash
INSTANCE: Writerside/hi
Expand Down Expand Up @@ -87,16 +82,16 @@ jobs:
with:
name: docs

- name: Unzip artifact
run: unzip -O UTF-8 -qq ${{ env.ARTIFACT }} -d dir
- name: Extract Files
run: 7z x artifacts/${{ env.ARTIFACT }} -ocf-pages

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 24c5f441026daba8da2637ed4612d555
projectName: ad-astra-docs
directory: artifacts/webHelpHI2-all
directory: cf-pages
branch: main
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
wranglerVersion: '3'

0 comments on commit 85f1aa3

Please sign in to comment.