Skip to content

Commit

Permalink
ci: reenable deployment to CF pages
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg authored Dec 6, 2024
1 parent 1f58c32 commit 4fd0ec0
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/publish-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ jobs:
cd guide.ubuntu-mate.org/
scripts/test.sh
# Disabled because deploying via this workflow break the deploy aliases in CF
#- name: Publish to Cloudflare Pages
# if: ${{ github.event_name == 'push' && github.repository == 'ubuntu-mate/ubuntu-mate-guide' }}
# uses: cloudflare/pages-action@v1
# with:
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
# accountId: e6fe5e31e8183c8192347f15af553766
# projectName: guide-ubuntu-mate-org
# directory: guide.ubuntu-mate.org/build
# gitHubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Cloudflare Pages
if: ${{ github.event_name == 'push' && github.repository == 'ubuntu-mate/ubuntu-mate-guide' }}
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: e6fe5e31e8183c8192347f15af553766
projectName: guide-ubuntu-mate-org
directory: guide.ubuntu-mate.org/build
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4fd0ec0

Please sign in to comment.