Skip to content

Commit

Permalink
ci: 🐛 Using ENV Without creating .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
bKoZii committed Aug 29, 2024
1 parent 8dcd58e commit 36a9fd8
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/azure-static-web-apps-icy-sea-0da81cb00.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ on:
- main

jobs:
create_env_file:
runs-on: ubuntu-latest
name: Create .env file
steps:
- name: Create .env file
run: |
touch .env
echo STRAPI_URL=${{ secrets.STRAPI_URL }} >> .env
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
Expand All @@ -31,6 +22,8 @@ jobs:
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
env:
STRAPI_URL: ${{ secrets.STRAPI_URL }}
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ICY_SEA_0DA81CB00 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
Expand Down

0 comments on commit 36a9fd8

Please sign in to comment.