stable-linux.yml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. name: stable-linux
  2. on:
  3. workflow_dispatch:
  4. inputs:
  5. force_version:
  6. type: boolean
  7. description: Force update version
  8. generate_assets:
  9. type: boolean
  10. description: Generate assets
  11. checkout_pr:
  12. type: string
  13. description: Checkout PR
  14. repository_dispatch:
  15. types: [stable]
  16. push:
  17. branches: [ master ]
  18. paths-ignore:
  19. - '**/*.md'
  20. - 'upstream/*.json'
  21. pull_request:
  22. branches: [ master ]
  23. paths-ignore:
  24. - '**/*.md'
  25. env:
  26. ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
  27. APP_NAME: VSCodium
  28. ASSETS_REPOSITORY: ${{ github.repository }}
  29. BINARY_NAME: codium
  30. DISABLE_UPDATE: 'yes'
  31. OS_NAME: linux
  32. VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
  33. VSCODE_QUALITY: stable
  34. jobs:
  35. check:
  36. runs-on: ubuntu-latest
  37. outputs:
  38. MS_COMMIT: ${{ env.MS_COMMIT }}
  39. MS_TAG: ${{ env.MS_TAG }}
  40. RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
  41. SHOULD_BUILD: ${{ env.SHOULD_BUILD }}
  42. SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}
  43. steps:
  44. - uses: actions/checkout@v4
  45. with:
  46. ref: ${{ env.GITHUB_BRANCH }}
  47. - name: Switch to relevant branch
  48. env:
  49. PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
  50. run: ./get_pr.sh
  51. - name: Clone VSCode repo
  52. run: ./get_repo.sh
  53. - name: Check PR or cron
  54. env:
  55. GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }}
  56. run: ./check_cron_or_pr.sh
  57. - name: Check existing VSCodium tags/releases
  58. env:
  59. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  60. CHECK_ALL: 'yes'
  61. run: ./check_tags.sh
  62. compile:
  63. needs:
  64. - check
  65. runs-on: ubuntu-20.04
  66. env:
  67. MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
  68. MS_TAG: ${{ needs.check.outputs.MS_TAG }}
  69. RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
  70. SHOULD_BUILD: ${{ (needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true') && 'yes' || 'no' }}
  71. VSCODE_ARCH: 'x64'
  72. outputs:
  73. BUILD_SOURCEVERSION: ${{ env.BUILD_SOURCEVERSION }}
  74. steps:
  75. - uses: actions/checkout@v4
  76. with:
  77. ref: ${{ env.GITHUB_BRANCH }}
  78. if: env.SHOULD_BUILD == 'yes'
  79. - name: Switch to relevant branch
  80. env:
  81. PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
  82. run: ./get_pr.sh
  83. - name: Setup GCC
  84. uses: egor-tensin/setup-gcc@v1
  85. with:
  86. version: 10
  87. platform: x64
  88. - name: Setup Node.js environment
  89. uses: actions/setup-node@v4
  90. with:
  91. node-version: '20.18'
  92. if: env.SHOULD_BUILD == 'yes'
  93. - name: Install Yarn
  94. run: npm install -g yarn
  95. if: env.SHOULD_BUILD == 'yes'
  96. - name: Setup Python 3
  97. uses: actions/setup-python@v5
  98. with:
  99. python-version: '3.11'
  100. if: env.SHOULD_BUILD == 'yes'
  101. - name: Install libkrb5-dev
  102. run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
  103. if: env.SHOULD_BUILD == 'yes'
  104. - name: Clone VSCode repo
  105. run: ./get_repo.sh
  106. if: env.SHOULD_BUILD == 'yes'
  107. - name: Build
  108. env:
  109. SHOULD_BUILD_REH: 'no'
  110. SHOULD_BUILD_REH_WEB: 'no'
  111. run: ./build.sh
  112. if: env.SHOULD_BUILD == 'yes'
  113. - name: Compress vscode artifact
  114. run: |
  115. find vscode -type f -not -path "*/node_modules/*" -not -path "vscode/.build/node/*" -not -path "vscode/.git/*" > vscode.txt
  116. echo "vscode/.build/extensions/node_modules" >> vscode.txt
  117. echo "vscode/.git" >> vscode.txt
  118. tar -czf vscode.tar.gz -T vscode.txt
  119. if: env.SHOULD_BUILD == 'yes'
  120. - name: Upload vscode artifact
  121. uses: actions/upload-artifact@v4
  122. with:
  123. name: vscode
  124. path: ./vscode.tar.gz
  125. retention-days: ${{ needs.check.outputs.SHOULD_DEPLOY == 'yes' && 30 || 1 }}
  126. if: env.SHOULD_BUILD == 'yes'
  127. build:
  128. needs:
  129. - check
  130. - compile
  131. runs-on: ubuntu-latest
  132. strategy:
  133. fail-fast: false
  134. matrix:
  135. include:
  136. - slug: X64
  137. vscode_arch: x64
  138. npm_arch: x64
  139. image: vscodium/vscodium-linux-build-agent:focal-x64
  140. - slug: ARM64
  141. vscode_arch: arm64
  142. npm_arch: arm64
  143. image: vscodium/vscodium-linux-build-agent:focal-arm64
  144. - slug: ARM32
  145. vscode_arch: armhf
  146. npm_arch: arm
  147. image: vscodium/vscodium-linux-build-agent:focal-armhf
  148. - slug: RISCV64
  149. vscode_arch: riscv64
  150. npm_arch: riscv64
  151. image: vscodium/vscodium-linux-build-agent:focal-riscv64
  152. - slug: LOONG64
  153. vscode_arch: loong64
  154. npm_arch: loong64
  155. image: vscodium/vscodium-linux-build-agent:trixie-loong64
  156. - slug: PPC64
  157. vscode_arch: ppc64le
  158. npm_arch: ppc64
  159. image: vscodium/vscodium-linux-build-agent:focal-ppc64le
  160. container:
  161. image: ${{ matrix.image }}
  162. env:
  163. BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
  164. DISABLED: ${{ vars[format('DISABLE_STABLE_LINUX_APP_{0}', matrix.slug)] }}
  165. MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
  166. MS_TAG: ${{ needs.check.outputs.MS_TAG }}
  167. RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
  168. SHOULD_BUILD: ${{ (needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true') && 'yes' || 'no' }}
  169. SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
  170. VSCODE_ARCH: ${{ matrix.vscode_arch }}
  171. outputs:
  172. RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
  173. SHOULD_BUILD: ${{ env.SHOULD_BUILD }}
  174. SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}
  175. steps:
  176. - uses: actions/checkout@v4
  177. with:
  178. ref: ${{ env.GITHUB_BRANCH }}
  179. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
  180. - name: Switch to relevant branch
  181. env:
  182. PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
  183. run: ./get_pr.sh
  184. if: env.DISABLED != 'yes'
  185. - name: Install GH
  186. run: ./install_gh.sh
  187. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
  188. - name: Check existing VSCodium tags/releases
  189. env:
  190. CHECK_REH: 'no'
  191. DISABLE_APPIMAGE: ${{ vars.DISABLE_STABLE_APPIMAGE }}
  192. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  193. run: ./check_tags.sh
  194. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
  195. - name: Install libkrb5-dev
  196. run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
  197. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
  198. - name: Download vscode artifact
  199. uses: actions/download-artifact@v4
  200. with:
  201. name: vscode
  202. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
  203. - name: Build
  204. env:
  205. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  206. npm_config_arch: ${{ matrix.npm_arch }}
  207. run: ./build/linux/package_bin.sh
  208. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes'
  209. - name: Prepare assets
  210. env:
  211. SHOULD_BUILD_REH: 'no'
  212. SHOULD_BUILD_REH_WEB: 'no'
  213. run: ./prepare_assets.sh
  214. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
  215. - name: Release
  216. env:
  217. GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
  218. GITHUB_USERNAME: ${{ github.repository_owner }}
  219. run: ./release.sh
  220. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
  221. - name: Update versions repo
  222. env:
  223. FORCE_UPDATE: ${{ github.event.inputs.force_version }}
  224. GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
  225. GITHUB_USERNAME: ${{ github.repository_owner }}
  226. run: ./update_version.sh
  227. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
  228. - name: Upload assets
  229. uses: actions/upload-artifact@v4
  230. with:
  231. name: bin-${{ matrix.vscode_arch }}
  232. path: assets/
  233. retention-days: 3
  234. if: env.DISABLED != 'yes' && env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'no' && github.event.inputs.generate_assets == 'true'
  235. reh_linux:
  236. needs:
  237. - check
  238. - compile
  239. runs-on: ubuntu-20.04
  240. strategy:
  241. fail-fast: false
  242. matrix:
  243. include:
  244. - slug: X64
  245. vscode_arch: x64
  246. npm_arch: x64
  247. - slug: ARM64
  248. vscode_arch: arm64
  249. npm_arch: arm64
  250. - slug: ARM32
  251. vscode_arch: armhf
  252. npm_arch: arm
  253. - slug: PPC64
  254. vscode_arch: ppc64le
  255. npm_arch: ppc64
  256. - slug: RISCV64
  257. vscode_arch: riscv64
  258. npm_arch: riscv64
  259. - slug: LOONG64
  260. vscode_arch: loong64
  261. npm_arch: loong64
  262. - slug: S390X
  263. vscode_arch: s390x
  264. npm_arch: s390x
  265. env:
  266. BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
  267. DISABLED: ${{ vars[format('DISABLE_STABLE_LINUX_REH_{0}', matrix.slug)] }}
  268. MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
  269. MS_TAG: ${{ needs.check.outputs.MS_TAG }}
  270. RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
  271. SHOULD_BUILD: ${{ needs.check.outputs.SHOULD_BUILD }}
  272. SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
  273. VSCODE_ARCH: ${{ matrix.vscode_arch }}
  274. if: needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true'
  275. steps:
  276. - uses: actions/checkout@v4
  277. with:
  278. ref: ${{ env.GITHUB_BRANCH }}
  279. if: env.DISABLED != 'yes'
  280. - name: Switch to relevant branch
  281. env:
  282. PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
  283. run: ./get_pr.sh
  284. if: env.DISABLED != 'yes'
  285. - name: Setup GCC
  286. uses: egor-tensin/setup-gcc@v1
  287. with:
  288. version: 10
  289. platform: x64
  290. if: env.DISABLED != 'yes'
  291. - name: Setup Node.js environment
  292. uses: actions/setup-node@v4
  293. with:
  294. node-version: '20.18'
  295. if: env.DISABLED != 'yes'
  296. - name: Setup Python 3
  297. uses: actions/setup-python@v5
  298. with:
  299. python-version: '3.11'
  300. if: env.DISABLED != 'yes'
  301. - name: Install libkrb5-dev
  302. run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
  303. if: env.DISABLED != 'yes'
  304. - name: Install GH
  305. run: ./install_gh.sh
  306. if: env.DISABLED != 'yes' && env.SHOULD_DEPLOY == 'yes'
  307. - name: Check existing VSCodium tags/releases
  308. env:
  309. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  310. CHECK_ONLY_REH: 'yes'
  311. run: ./check_tags.sh
  312. if: env.DISABLED != 'yes'
  313. - name: Download vscode artifact
  314. uses: actions/download-artifact@v4
  315. with:
  316. name: vscode
  317. if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true')
  318. - name: Build
  319. env:
  320. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  321. npm_config_arch: ${{ matrix.npm_arch }}
  322. run: ./build/linux/package_reh.sh
  323. if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true')
  324. - name: Release
  325. env:
  326. GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
  327. GITHUB_USERNAME: ${{ github.repository_owner }}
  328. run: ./release.sh
  329. if: env.DISABLED != 'yes' && env.SHOULD_DEPLOY == 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no')
  330. - name: Upload assets
  331. uses: actions/upload-artifact@v4
  332. with:
  333. name: reh-linux-${{ matrix.vscode_arch }}
  334. path: assets/
  335. retention-days: 3
  336. if: env.DISABLED != 'yes' && env.SHOULD_DEPLOY == 'no' && github.event.inputs.generate_assets == 'true'
  337. reh_alpine:
  338. needs:
  339. - check
  340. - compile
  341. runs-on: ubuntu-20.04
  342. strategy:
  343. fail-fast: false
  344. matrix:
  345. include:
  346. - vscode_arch: x64
  347. npm_arch: x64
  348. - vscode_arch: arm64
  349. npm_arch: arm64
  350. env:
  351. BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
  352. MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
  353. MS_TAG: ${{ needs.check.outputs.MS_TAG }}
  354. OS_NAME: alpine
  355. RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
  356. SHOULD_BUILD: ${{ needs.check.outputs.SHOULD_BUILD }}
  357. SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
  358. VSCODE_ARCH: ${{ matrix.vscode_arch }}
  359. if: needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true'
  360. steps:
  361. - uses: actions/checkout@v4
  362. with:
  363. ref: ${{ env.GITHUB_BRANCH }}
  364. - name: Switch to relevant branch
  365. env:
  366. PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
  367. run: ./get_pr.sh
  368. - name: Setup GCC
  369. uses: egor-tensin/setup-gcc@v1
  370. with:
  371. version: 10
  372. platform: x64
  373. - name: Install GH
  374. run: ./install_gh.sh
  375. if: env.SHOULD_DEPLOY == 'yes'
  376. - name: Check existing VSCodium tags/releases
  377. env:
  378. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  379. CHECK_ONLY_REH: 'yes'
  380. run: ./check_tags.sh
  381. - name: Install libkrb5-dev
  382. run: sudo apt-get update -y && sudo apt-get install -y libkrb5-dev
  383. if: env.SHOULD_BUILD == 'yes'
  384. - name: Download vscode artifact
  385. uses: actions/download-artifact@v4
  386. with:
  387. name: vscode
  388. if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
  389. - name: Build
  390. env:
  391. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  392. npm_config_arch: ${{ matrix.npm_arch }}
  393. run: ./build/alpine/package_reh.sh
  394. if: env.SHOULD_BUILD_REH != 'no' || github.event.inputs.generate_assets == 'true'
  395. - name: Release
  396. env:
  397. GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
  398. GITHUB_USERNAME: ${{ github.repository_owner }}
  399. run: ./release.sh
  400. if: env.SHOULD_BUILD_REH != 'no' && env.SHOULD_DEPLOY == 'yes'
  401. - name: Upload assets
  402. uses: actions/upload-artifact@v4
  403. with:
  404. name: reh-alpine-${{ matrix.vscode_arch }}
  405. path: assets/
  406. retention-days: 3
  407. if: env.SHOULD_DEPLOY == 'no' && github.event.inputs.generate_assets == 'true'
  408. aur:
  409. needs:
  410. - check
  411. - build
  412. runs-on: ubuntu-latest
  413. strategy:
  414. fail-fast: false
  415. matrix:
  416. include:
  417. - package_name: vscodium
  418. package_type: stable
  419. # - package_name: vscodium-git
  420. # package_type: rolling
  421. if: needs.check.outputs.SHOULD_DEPLOY == 'yes'
  422. steps:
  423. - name: Publish ${{ matrix.package_name }}
  424. uses: zokugun/github-actions-aur-releaser@v1
  425. with:
  426. package_name: ${{ matrix.package_name }}
  427. package_type: ${{ matrix.package_type }}
  428. aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
  429. aur_username: ${{ secrets.AUR_USERNAME }}
  430. aur_email: ${{ secrets.AUR_EMAIL }}
  431. snap:
  432. needs:
  433. - check
  434. - build
  435. runs-on: ubuntu-latest
  436. env:
  437. RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
  438. SNAP_NAME: codium
  439. strategy:
  440. fail-fast: false
  441. matrix:
  442. platform:
  443. - amd64
  444. - arm64
  445. if: needs.check.outputs.SHOULD_DEPLOY == 'yes' && vars.DISABLE_STABLE_SNAP != 'yes'
  446. steps:
  447. - uses: actions/checkout@v4
  448. with:
  449. ref: ${{ env.GITHUB_BRANCH }}
  450. - name: Switch to relevant branch
  451. env:
  452. PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
  453. run: ./get_pr.sh
  454. - name: Check version
  455. env:
  456. ARCHITECTURE: ${{ matrix.platform }}
  457. GENERATE_ASSETS: ${{ github.event.inputs.generate_assets }}
  458. SNAPCRAFT_STORE_CHANNEL: ${{ vars.SNAP_STORE_CHANNEL }}
  459. SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
  460. run: ./stores/snapcraft/check_version.sh
  461. - uses: docker/setup-qemu-action@v3
  462. if: env.SHOULD_BUILD == 'yes'
  463. - uses: diddlesnaps/snapcraft-multiarch-action@v1
  464. with:
  465. path: stores/snapcraft/stable
  466. architecture: ${{ matrix.platform }}
  467. id: build
  468. if: env.SHOULD_BUILD == 'yes'
  469. - uses: diddlesnaps/snapcraft-review-action@v1
  470. with:
  471. snap: ${{ steps.build.outputs.snap }}
  472. isClassic: 'true'
  473. if: env.SHOULD_DEPLOY_TO_RELEASE == 'yes' || env.SHOULD_DEPLOY_TO_STORE == 'yes'
  474. - uses: svenstaro/upload-release-action@v2
  475. with:
  476. repo_name: ${{ env.ASSETS_REPOSITORY }}
  477. repo_token: ${{ secrets.STRONGER_GITHUB_TOKEN }}
  478. file: ${{ steps.build.outputs.snap }}
  479. tag: ${{ env.RELEASE_VERSION }}
  480. if: env.SHOULD_DEPLOY_TO_RELEASE == 'yes'
  481. - uses: snapcore/action-publish@master
  482. env:
  483. SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
  484. with:
  485. snap: ${{ steps.build.outputs.snap }}
  486. release: ${{ vars.SNAP_STORE_CHANNEL }}
  487. if: env.SHOULD_DEPLOY_TO_STORE == 'yes'
  488. deb-rpm-repo-hook:
  489. needs:
  490. - check
  491. - build
  492. runs-on: ubuntu-latest
  493. if: needs.check.outputs.SHOULD_DEPLOY == 'yes'
  494. steps:
  495. - name: Trigger repository rebuild
  496. env:
  497. GL_PAGES_TOKEN: ${{ secrets.GL_PAGES_TOKEN }}
  498. run: curl -X POST --fail -F token="${GL_PAGES_TOKEN}" -F ref=master https://gitlab.com/api/v4/projects/8762263/trigger/pipeline