diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 36bbd59..8f99772 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -13,12 +13,9 @@ jobs: uses: actions/checkout@v3 - name: container-setup - run: | - echo "10.145.164.106 git.vxbard.net" >> /etc/hosts + run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts - name: build - run: echo "building..." - run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts run: g++ -o app main.cpp - name: upload @@ -34,14 +31,15 @@ jobs: needs: build steps: - name: container-setup - run: | - echo "10.145.164.106 git.vxbard.net" >> /etc/hosts + run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts - name: download uses: actions/download-artifact@v3 with: name: build-artifact - - name: execute + - name: make-executable run: chmod +x app + + - name: execute run: ./app