Created
October 22, 2020 17:01
-
-
Save sh0seo/4e9b250e2346d1c918bbd4fa4a8352f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update | |
on: | |
push: | |
branches: [ master ] | |
schedule: | |
- cron: '0 9 * * SUN' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
ref: "master" | |
- name: go setup | |
uses: actions/[email protected] | |
with: | |
go-version: "1.13" | |
- name: pg driver | |
run: | | |
go get github.com/lib/pq | |
- name: run | |
run: | | |
go run main.go | |
env: | |
DB_HOST: ${{ secrets.DB_HOST}} | |
DB_PW: ${{ secrets.DB_PW}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment