mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 12:19:36 +00:00
Fix the webring build action
This commit is contained in:
parent
3fff174d96
commit
5e55792cf1
28
.github/workflows/build-webring.yml
vendored
28
.github/workflows/build-webring.yml
vendored
@ -11,18 +11,20 @@ jobs:
|
|||||||
- uses: cachix/install-nix-action@v17
|
- uses: cachix/install-nix-action@v17
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixpkgs-unstable
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||||
- run: nix develop -c make build-openring
|
- name: Build webring
|
||||||
- run: |
|
run: nix develop -c make build-openring
|
||||||
# Show the commit as set by the Actions bot.
|
- name: Commit the changes
|
||||||
# https://github.com/actions/checkout/discussions/479
|
run: |
|
||||||
git config user.name 'github-actions[bot]'
|
# Show the commit as set by the Actions bot.
|
||||||
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
# https://github.com/actions/checkout/discussions/479
|
||||||
|
git config user.name 'github-actions[bot]'
|
||||||
|
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
||||||
|
|
||||||
# Commit the update.
|
# Commit the update.
|
||||||
git add ./layouts/partials/openring.html
|
git add ./layouts/partials/openring.html
|
||||||
git commit --message "Update webring as of $(date +%F)"
|
git commit --message "Update webring as of $(date +%F)"
|
||||||
|
|
||||||
# Push it into the current branch.
|
# Push it into the current branch.
|
||||||
git remote remove origin
|
git remote remove origin
|
||||||
git remote add origin https://${{ secrets.GITHUB_TOKEN }}@github.com/foo-dogsquared/website.git
|
git remote add origin https://${{ secrets.GITHUB_TOKEN }}@github.com/foo-dogsquared/website.git
|
||||||
git push --set-upstream origin master
|
git push --set-upstream origin master
|
||||||
|
Loading…
Reference in New Issue
Block a user