Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Specify environment in deploy staging Action (#634)
Browse files Browse the repository at this point in the history
* Rename Action for clarity
* Set Action environment name to pick up correct secrets context
  • Loading branch information
quantumfusion authored Aug 17, 2021
1 parent e664dec commit bec80de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/push-staging.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@

name: 'deploy'
name: 'deploy-staging'

on:
# Triggers the workflow on branch and tag creation events
create:

jobs:
deploy:
deploy_staging:
# Only deploy if it has the tag 'release'
if: ${{ startsWith(github.ref, 'refs/tags/release') }}
runs-on: ubuntu-latest
environment: Staging
steps:
- name: Cloning repo
uses: actions/checkout@v2
Expand Down

0 comments on commit bec80de

Please sign in to comment.