generated from LizardByte/template-base
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4635a84
commit 4585cf9
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,9 +32,12 @@ jobs: | |
reflector --latest 10 --protocol http,https --sort rate --save /etc/pacman.d/mirrorlist | ||
- name: Download Pacman Repo Builder | ||
env: | ||
VERSION: "0.0.0-rc.65" | ||
URL_ASSET: "build-pacman-repo-x86_64-unknown-linux-gnu" | ||
run: | | ||
wget \ | ||
https://github.com/pacman-repo-builder/pacman-repo-builder/releases/download/0.0.0-rc.65/build-pacman-repo-x86_64-unknown-linux-gnu \ | ||
"https://github.com/pacman-repo-builder/pacman-repo-builder/releases/download/${VERSION}/{URL_ASSET}" \ | ||
-O /usr/bin/build-pacman-repo | ||
chmod +x /usr/bin/build-pacman-repo | ||
|
@@ -44,8 +47,8 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: repo | ||
path: repo | ||
ref: gh-pages | ||
path: gh-pages | ||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | ||
fetch-depth: 0 # otherwise, will fail to push refs to dest repo | ||
|
||
|
@@ -54,13 +57,17 @@ jobs: | |
build-pacman-repo patch-makepkg --replace | ||
build-pacman-repo build | ||
- name: Additional updates | ||
run: | | ||
cp -f README.md ./gh-pages/README.md | ||
- name: GitHub Commit & Push | ||
if: github.event_name == 'schedule' || github.event_name == 'push' | ||
uses: actions-js/[email protected] | ||
with: | ||
author_email: ${{ secrets.GH_BOT_EMAIL }} | ||
author_name: ${{ secrets.GH_BOT_NAME }} | ||
branch: repo # commit to repo branch | ||
directory: repo # use the repo directory | ||
branch: gh-pages | ||
directory: gh-pages | ||
github_token: ${{ secrets.GH_BOT_TOKEN }} | ||
message: 'Update per ${{ github.event_name }}: ${{ github.sha }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters