Added Github token to env
This commit is contained in:
parent
87749738d7
commit
1ac434fb6e
|
|
@ -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
|
||||
|
|
@ -59,6 +62,10 @@ jobs:
|
|||
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
3
.gitignore
vendored
|
|
@ -1,3 +1,6 @@
|
|||
debug.log
|
||||
.DS_store
|
||||
.idea
|
||||
|
||||
# Local Netlify folder
|
||||
.netlify
|
||||
|
|
|
|||
Loading…
Reference in a new issue