Skip to content

Commit

Permalink
try fix deploy_2
Browse files Browse the repository at this point in the history
  • Loading branch information
TkachenkoKaterina committed Sep 21, 2023
1 parent 70e022b commit 5c27639
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,26 @@ jobs:
# uses: JamesIves/github-pages-deploy-action@4.1.0
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.GH_DOCS }}
# ACCESS_TOKEN: ${{ secrets.GH_DOCS }}
branch: gh-pages
folder: dist
# FOLDER: docs/_site
CLEAN: true

- name: Set the value
id: step_one
run: |
echo "action_state=yellow" >> "$GITHUB_ENV"
- name: Use the value
id: step_two
run: |
printf '%s\n' "$action_state" # This will output 'yellow'
- name: Set color
id: random-color-generator
run: echo "SELECTED_COLOR=green" >> "$GITHUB_OUTPUT"
- name: Get color
env:
SELECTED_COLOR:
${{ steps.random-color-generator.outputs.SELECTED_COLOR }}
run: echo "The selected color is $SELECTED_COLOR"
1 change: 1 addition & 0 deletions ~
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{name}={value}

0 comments on commit 5c27639

Please sign in to comment.