Going back to github everywhere
- Corrected the CI workflow path from `GITEA_PATH` to `GITHUB_PATH`. - Adjusted the deployment conditional to use `github.ref`. - Ensures the workflow uses the correct environment variable.
This commit is contained in:
parent
07b2296500
commit
965e61d107
@ -15,7 +15,7 @@ jobs:
|
||||
- name: Install uv
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.cargo/bin" >> $GITEA_PATH
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Run Ruff & Mypy
|
||||
run: |
|
||||
@ -34,7 +34,7 @@ jobs:
|
||||
- name: Install uv
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.cargo/bin" >> $GITEA_PATH
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
@ -48,7 +48,7 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
if: gitea.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user