Skip to content

Merged unrelated histories #1

Merged unrelated histories

Merged unrelated histories #1

Workflow file for this run

name: CI/CD Pipeline for Azure Resume
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
# Add any other build steps you might need, for example, linting, testing, etc.
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
- name: Terraform Initialize
run: terraform init
- name: Terraform Validate
run: terraform validate
- name: Terraform Plan
run: terraform plan -no-color
continue-on-error: true
- name: Terraform Apply
run: terraform apply -auto-approve
- name: Logout of Azure
run: az logout