Merge pull request #151 from x-motemen/setenv #64
This file contains 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: e2e | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- run: make build | |
- name: run e2e | |
run: | | |
export BLOGSYNC_BIN=$PWD/blogsync | |
export BLOGSYNC_BLOG=${{ secrets.BLOGSYNC_BLOG }} | |
export BLOGSYNC_USERNAME=${{ secrets.BLOGSYNC_USERNAME }} | |
export BLOGSYNC_PASSWORD=${{ secrets.BLOGSYNC_PASSWORD }} | |
export BLOGSYNC_OWNER=${{ secrets.BLOGSYNC_OWNER }} | |
./.github/workflows/e2e.sh |