Skip to content

New article: What should we learn from the xz situation as Package Maintainers? #62

New article: What should we learn from the xz situation as Package Maintainers?

New article: What should we learn from the xz situation as Package Maintainers? #62

Workflow file for this run

name: CD
on: pull_request
jobs:
Build:
runs-on:
- self-hosted
- CI-CD
steps:
- name: Clone repo
uses: actions/checkout@v4
with:
token: ${{ secrets.BUILD_WEBSITE_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Build website
run: rm -rf public && hugo
- name: Commit automated build
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
if [ "$(git status --porcelain)" ]; then
git add .
git commit -m "Automated build"
git push
else
echo "No changes to commit"
fi