File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ' GitHub Actions'
2+ ' on ' :
3+ - push
4+ concurrency : ' ci-${{ github.ref }}'
5+ env :
6+ APP_IMAGE : keboola/google-client-bundle
7+ DOCKERHUB_USER : ' ${{ secrets.DOCKERHUB_USER }}'
8+ DOCKERHUB_TOKEN : ' ${{ secrets.DOCKERHUB_TOKEN }}'
9+
10+ CLIENT_ID : ' ${{ secrets.CLIENT_ID }}'
11+ CLIENT_SECRET : ' ${{ secrets.CLIENT_SECRET }}'
12+ REFRESH_TOKEN : ' ${{ secrets.REFRESH_TOKEN }}'
13+ jobs :
14+ tests :
15+ runs-on : ubuntu-latest
16+ steps :
17+ -
18+ name : ' Check out the repo'
19+ uses : actions/checkout@v2
20+ -
21+ name : ' Docker login'
22+ if : env.DOCKERHUB_TOKEN
23+ run : ' docker login --username "$DOCKERHUB_USER" --password "$DOCKERHUB_TOKEN"'
24+ -
25+ name : ' Build image'
26+ run : ' docker build -t $APP_IMAGE .'
27+ -
28+ name : ' Run tests'
29+ run : |
30+ docker run \
31+ -e CLIENT_ID \
32+ -e CLIENT_SECRET \
33+ -e REFRESH_TOKEN \
34+ ${{env.APP_IMAGE}} composer ci
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Keboola Google API Client
2- [ ![ Build Status] ( https://travis-ci.org/keboola/google-client-bundle.svg?branch=master )] ( https://travis-ci.org/keboola/google-client-bundle )
32
43Basic client for Google APIs
You can’t perform that action at this time.
0 commit comments