建立.gitlab-ci.yml
stages: - testing - build - pushlish - cleanup - deploy run_test: only: - main tags: - vpn stage: testing script: - echo "run unit test"
說明 stages 工作流
儲存後 上傳到gitlab
參考 為你自己學 GitLab CI/CD GitLab