Skip to content

Commit

Permalink
Add gitlab-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xlionjuan committed Dec 24, 2024
1 parent 51ee776 commit 18e7c6e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
stages:
- build

pages:
image: "registry.fedoraproject.org/fedora:latest"
stage: build
variables:
GIT_STRATEGY: none
GH_TOKEN: $GH_TOKEN
script:
- sudo dnf install -y gh tar
- gh run download -R xlionjuan/rustdesk-rpm-repo -n github-pages
- mkdir public
- tar -xvf *.tar -C public/
artifacts:
paths:
- public
rules:
- if: '$CI_COMMIT_REF_NAME == "main" && $CI_PIPELINE_SOURCE == "push"'
- if: $CI_PIPELINE_SOURCE == "schedule"

0 comments on commit 18e7c6e

Please sign in to comment.