test actions #3
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: Retrieve Contentful CDA Token and Space ID | |
on: | |
push: | |
branches: | |
- master # Adjust branch name as needed | |
jobs: | |
retrieve-secrets: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Retrieve Secrets | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Retrieve Contentful Secrets | |
run: | | |
echo "CDA_TOKEN=$CDA_TOKEN" >> $GITHUB_ENV | |
env: | |
CDA_TOKEN: ${{ secrets.CDA_ACCESS_TOKEN }} | |
# Additional steps in your workflow that require CDA token and Space ID |