diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 6e9a241..a3ccfba 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -3,8 +3,8 @@ run-name: ${{ github.actor }} Gitea Actions ๐Ÿš€๐Ÿš€๐Ÿš€ on: push: # Sequence of patterns matched against refs/heads - branches: - - main + # branches: + # - main # Sequence of patterns matched against refs/tags tags: - v* diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index cbe598a..226b4a6 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -1,24 +1,16 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions ๐Ÿš€ -# on: [push] -env: - # DOCKER_REGISTRY: docker.io - # DOCKER_USERNAME: softyouling - # ๆญคๅค„ๅฏไฟฎๆ”นไธบไฝ ไปปๆ„ docker ้•œๅƒไป“ๅบ“ๅœฐๅ€ๅ’Œ็”จๆˆทๅ +on: [push] - DOMAIN: gitea.lntu.edu.cn jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest - - # container: ${{ env.DOMAIN }}/youling/devops steps: - run: echo "๐ŸŽ‰ The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "๐Ÿง This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "๐Ÿ”Ž The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - run: apt update && apt install -y git nodejs - - name: ๆ‹‰ๅ–ไปฃ็  - uses: https://${{ env.DOMAIN }}/actions/checkout@v4 + - name: Check out repository code + uses: actions/checkout@v3 - run: echo "๐Ÿ’ก The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "๐Ÿ–ฅ๏ธ The workflow is now ready to test your code on the runner." - name: List files in the repository