Cấu hình CI/CD với Github (phần 4): Các mẫu github actions
Các bạn có thể sử dụng nhữn mẫu sau để tạo nhanh một flow CI/CD, chỉ cần copy về sửa lại một chút theo yêu cầu của mỗi dự án, thêm secret key là có thể cấu hình một flow để tự động buid, deploy một project lên production trong 2 nốt nhạc.
Một số mẫu cơ bản:
Deploy Node.js to Azure Web App
env:
AZURE_WEBAPP_NAME: your-app-name
AZURE_WEBAPP_PACKAGE_PATH: '.'
NODE_VERSION: '10.x'
jobs:
build-and-deploy:
...
CI/CD
Github Actions
GitHub
May Fest
workflow
1634