forked from Controls/gitea-pages
This commit is contained in:
@@ -18,7 +18,8 @@ jobs:
|
||||
- name: Build page
|
||||
run: |
|
||||
sed -i 's|repo_url[[:space:]]*=[[:space:]]*".*"|repo_url = "${{ github.server_url }}/${{ github.repository }}"|' zensical.toml
|
||||
/opt/python-env/bin/zensical build
|
||||
/opt/python-env/bin/zensical --version
|
||||
/opt/python-env/bin/zensical build || exit 1
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
@@ -34,4 +35,5 @@ jobs:
|
||||
git commit -m "Update site - $(date)"
|
||||
REPO_URL=$(echo "${{ github.server_url }}/${{ github.repository }}.git" | sed 's|https://||')
|
||||
git push -f https://${{ secrets.GITHUB_TOKEN }}@$REPO_URL gitea-pages
|
||||
|
||||
echo "Your page shoule be available now at"
|
||||
echo "https://${{ github.repository }}.pages.psi.ch"
|
||||
|
||||
Reference in New Issue
Block a user