mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
CI: Remove workaround for cross-repo file deployments
We can now use the latest checkout action. The guidance from the deploy action is to now set persist-credentials to false during checkout for cross-repo deployments.
This commit is contained in:
1 parent
964627abb9
commit
81d31ee870
2 files changed
+9
-7
No files matched your search
@@ -11,8 +11,9 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
if: github.repository == 'SerenityOS/serenity' && github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
# FIXME: Update this version once JamesIves/github-pages-deploy-action has a more recent release than v4.7.4.
|
||||
- uses: actions/[email protected]
|
||||
- uses: actions/[email protected]
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- uses: r-lib/actions/setup-pandoc@v2
|
||||
with:
|
||||
@@ -22,7 +23,7 @@ jobs:
|
||||
run: ./Meta/build-manpages-website.sh
|
||||
|
||||
- name: Deploy to GitHub pages
|
||||
uses: JamesIves/[email protected].4
|
||||
uses: JamesIves/[email protected].6
|
||||
with:
|
||||
git-config-name: BuggieBot
|
||||
git-config-email: [email protected]
|
||||
|
||||
@@ -15,12 +15,13 @@ jobs:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
# FIXME: Update these versions once JamesIves/github-pages-deploy-action has a more recent release than v4.7.4.
|
||||
- name: Checkout SerenityOS/serenity
|
||||
uses: actions/[email protected].0
|
||||
uses: actions/[email protected].1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Checkout SerenityOS/libjs-data libjs-wasm
|
||||
uses: actions/[email protected].0
|
||||
uses: actions/[email protected].1
|
||||
with:
|
||||
path: libjs-data
|
||||
ref: libjs-wasm
|
||||
@@ -99,7 +100,7 @@ jobs:
|
||||
tar --exclude='.[^/]*' -czvf libjs-wasm.tar.gz -C ${{ github.workspace }}/libjs-data .
|
||||
|
||||
- name: Deploy to GitHub
|
||||
uses: JamesIves/[email protected].4
|
||||
uses: JamesIves/[email protected].6
|
||||
if: github.ref == 'refs/heads/master'
|
||||
with:
|
||||
git-config-name: BuggieBot
|
||||
|
||||
Reference in new issue
Block a user