mirror of
https://github.com/avelino/awesome-go.git
synced 2024-11-07 16:33:40 +00:00
netlify deploy
fixed: #3815 Signed-off-by: Avelino <avelinorun@gmail.com>
This commit is contained in:
parent
2e7737c06f
commit
375446fb74
11
.github/workflows/run-check.yaml
vendored
11
.github/workflows/run-check.yaml
vendored
@ -7,9 +7,10 @@ jobs:
|
||||
build:
|
||||
name: Running test
|
||||
runs-on: ubuntu-latest
|
||||
environment: netlify
|
||||
strategy:
|
||||
matrix:
|
||||
go: ['1.15.x']
|
||||
go: ['1.15.x']
|
||||
steps:
|
||||
- uses: actions/checkout@1.0.0
|
||||
- name: Get dependencies
|
||||
@ -19,3 +20,11 @@ jobs:
|
||||
run: go run test_stale_repositories.go scripts.go
|
||||
env:
|
||||
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}
|
||||
- name: netlify awesome-go.com
|
||||
uses: jsmrcaga/action-netlify-deploy@v1.1.0
|
||||
if: contains('refs/heads/master', github.ref)
|
||||
with:
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||
NETLIFY_DEPLOY_TO_PROD: true
|
||||
build_directory: tmpl
|
||||
|
Loading…
Reference in New Issue
Block a user