Member-only story
What is GitHub Actions?
Easily automate all software workflows with world-class CI / CD. You can build, test, and deploy code directly from GitHub to get code review, branch management, and problem triage to work the way you want.
Practical examples
- Environmental variables (Global)
- Environmental variables (In step)
- Multiple command simplification
- Specify subfolder
- Action trigger condition (Specified folder)
- Action trigger condition (Other than the specified folder)
- Execution order of multiple jobs
- Workflow execution between repositories
- Send notification to Slack
Environmental variables (Global)
on:
push:
branches:
- mainenv:
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}
Environmental variables (In step)
jobs:
Build:
runs-on: ubuntu-lateststeps:
- name: install
run: yarn install
env…