mirror of
https://staging.allspice.dev/AllSpice-Demos/Actions-demo.git
synced 2025-04-24 09:13:21 +00:00
Remove ${{ github.workspace }} from path
This commit is contained in:
parent
50e070dff4
commit
c24526d9e4
@ -19,7 +19,7 @@ jobs:
|
||||
- name: Print repository Action variable 🔎
|
||||
run: |
|
||||
echo "Repository variable VARIABLE_NAME = ${{ vars.VARIABLE_NAME }}"
|
||||
echo "Repository variables are stored in ${{ github.server_url }}${{ github.workspace}}/${{ github.repository }}/settings/actions/variables"
|
||||
echo "Repository variables are stored in ${{ github.server_url }}${{ github.repository }}/settings/actions/variables"
|
||||
|
||||
- name: Use Secret 🔎
|
||||
# Store the secret in an environment variable YOUR_SECRET
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
|
||||
# Demonstrate how to use secrets in the workflow
|
||||
run: |
|
||||
echo "Secrets are stored in ${{ github.server_url }}${{ github.workspace}}/${{ github.repository }}"/settings/actions/secrets
|
||||
echo "Secrets are stored in ${{ github.server_url }}${{ github.repository }}"/settings/actions/secrets
|
||||
echo "Secrets are only available to the repository admins and the workflow"
|
||||
echo "Store API Tokens in secrets and use them in the workflow without exposing them"
|
||||
echo "Secrets are not printed to the terminal for security reasons and will be replaced with ***"
|
||||
|
Loading…
Reference in New Issue
Block a user