Skip to content

Commit

Permalink
Merge pull request #1 from utrains/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Chefouetmeka authored Nov 5, 2024
2 parents 6ef711c + f76e344 commit f379acb
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }} # Exécute ce job uniquement sur les pushs, pas sur les dispatch manuels
if: ${{ github.event_name == 'workflow_dispatch' }} # Exécute ce job uniquement sur les pushs, pas sur les dispatch manuels

steps:
- name: Checkout code
Expand Down Expand Up @@ -63,32 +63,4 @@ jobs:

- name: Manual stage
run: echo "${{ github.event_name }}"
# - name: Set up Terraform
# uses: hashicorp/setup-terraform@v3
# with:
# terraform_version: 1.9.8

# - name: Restore Terraform State # Restaure l'état sauvegardé
# uses: actions/cache@v4
# with:
# path: .terraform
# key: ${{ runner.os }}-terraform-${{ github.sha }}
# restore-keys: |
# ${{ runner.os }}-terraform-

# - name: Terraform Init
# run: terraform init

# - name: Install AWS CLI
# uses: unfor19/install-aws-cli-action@v1
# with:
# version: 2
# verbose: false
# arch: amd64

# - name: Terraform Destroy
# run: terraform destroy -auto-approve
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: us-west-2

0 comments on commit f379acb

Please sign in to comment.