updated readme #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tenth_workflow | |
on: | |
push: | |
jobs: | |
job_A: | |
name: Job A | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build project | |
run: | | |
echo "Building project..." | |
echo "Building project against ${{ github.ref }} branch" | |
sleep 5 | |
echo "Build completed." | |
- name: Deploy project | |
if: github.ref == 'refs/heads/main' | |
run: | | |
echo "Deploying project..." | |
echo "Branch name is ${{ github.ref }}" | |
sleep 5 | |
echo "Deployment completed." |