Update deploy.yml

This commit is contained in:
Brady Joslin 2020-06-22 10:02:00 -05:00 committed by GitHub
parent aabd478947
commit 4259a86a6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,3 +46,20 @@ jobs:
environment: "production" environment: "production"
wranglerVersion: '1.5.0' wranglerVersion: '1.5.0'
workingDirectory: 'test' workingDirectory: 'test'
publish_secrets:
runs-on: ubuntu-latest
name: Publish app with secrets
steps:
- uses: actions/checkout@v2
- name: Publish app
uses: ./
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
environment: "production"
workingDirectory: "test"
secrets: |
SECRET1
SECRET2
env:
SECRET1: ${{ secrets.SECRET1 }}
SECRET2: ${{ secrets.SECRET2 }}