Skip to content

Commit

Permalink
netlify deploy
Browse files Browse the repository at this point in the history
fixed: #3815

Signed-off-by: Avelino <avelinorun@gmail.com>
  • Loading branch information
avelino committed Dec 16, 2021
1 parent 2e7737c commit 375446f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/run-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@ name: Check For Stale Repositories
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0'
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
run: |
go get -v -t -d ./...
- name: run script
run: go run test_stale_repositories.go scripts.go
env:
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}
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

0 comments on commit 375446f

Please sign in to comment.