Added Github token to env
Some checks failed
ci / Site (push) Waiting to run
ci / Release MacOS (push) Failing after 22s
ci / Build (push) Has been cancelled

This commit is contained in:
Leon Mika 2025-10-26 10:28:38 +11:00
parent 87749738d7
commit 1ac434fb6e
2 changed files with 12 additions and 1 deletions

View file

@ -41,6 +41,9 @@ jobs:
# Start Release
Site:
runs-on: docker
env:
NETLIFY_SITE_ID: 987651c8-4ffd-48d8-af67-4dbd49c48887
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v2
@ -54,11 +57,15 @@ jobs:
apt install -y ./hugo_extended_0.146.0_linux-amd64.deb
- name: Build Site
run: |
cd _site
cd _site
mkdir -p themes
git clone https://github.com/alex-shpak/hugo-book.git themes/hugo-book
npm install
hugo --minify
- name: Publish Site
run: |
cd _site
netlify deploy --dir docs --prod
'Release MacOS':
# needs: build
@ -81,4 +88,5 @@ jobs:
run: |
goreleaser release -f macos.goreleaser.yml --skip=validate --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_PRIVATE_KEY: ${{ secrets.HOMEBREW_TAP_PRIVATE_KEY }}

3
.gitignore vendored
View file

@ -1,3 +1,6 @@
debug.log
.DS_store
.idea
# Local Netlify folder
.netlify