Skip to content

Commit

Permalink
Fix env not working
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyTake-Off committed Sep 6, 2024
1 parent 720e174 commit 7c2839b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dot.move-winfiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.env.ENV_NAME }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ env.ENV_NAME }}
cancel-in-progress: true

permissions:
Expand All @@ -24,8 +24,8 @@ permissions:
jobs:
move-files:
runs-on: ubuntu-latest
name: "Move ${{ github.env.ENV_NAME }}"
environment: ${{ github.env.ENV_NAME }}
name: "Move ${{ env.ENV_NAME }}"
environment: ${{ env.ENV_NAME }}

steps:
- name: "Checkout repository"
Expand All @@ -38,4 +38,4 @@ jobs:
id: move-files
uses: ./.github/actions/templates/moveFiles
with:
CONFIG_FILE_PATH: "${{ github.env.ENV_NAME }}/to_move.yaml"
CONFIG_FILE_PATH: "${{ env.ENV_NAME }}/to_move.yaml"
8 changes: 4 additions & 4 deletions .github/workflows/dot.move-wslfiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.env.ENV_NAME }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ env.ENV_NAME }}
cancel-in-progress: true

permissions:
Expand All @@ -23,8 +23,8 @@ permissions:
jobs:
move-files:
runs-on: ubuntu-latest
name: "Move ${{ github.env.ENV_NAME }}"
environment: ${{ github.env.ENV_NAME }}
name: "Move ${{ env.ENV_NAME }}"
environment: ${{ env.ENV_NAME }}

steps:
- name: "Checkout repository"
Expand All @@ -37,4 +37,4 @@ jobs:
id: move-files
uses: ./.github/actions/templates/moveFiles
with:
CONFIG_FILE_PATH: "${{ github.env.ENV_NAME }}/to_move.yaml"
CONFIG_FILE_PATH: "${{ env.ENV_NAME }}/to_move.yaml"

0 comments on commit 7c2839b

Please sign in to comment.