diff --git a/.github/workflows/dev-cicd-service.yml b/.github/workflows/dev-cicd-service.yml index 0e7caa86..0f333224 100644 --- a/.github/workflows/dev-cicd-service.yml +++ b/.github/workflows/dev-cicd-service.yml @@ -42,7 +42,7 @@ jobs: - name: SSH connect uses: garygrossgarten/github-action-ssh@v0.5.0 with: - command: echo "Starttime:" && date +"%T" && cd /var/www/ && pwd && cd fivemods/ && rm -rfv dev-html/ && git clone -b awesomecore https://${{ secrets.UNAME }}:${{ secrets.UPW }}@github.com/FiveMods/fivemods.net.git && ls -l && pwd && mv main dev-html/ && chmod 755 dev-html && echo "Done, moved to dev checkout on https://dev.fivemods.net/." && echo "Stoptime:" && date +"%T" && exit + command: echo "Starttime:" && date +"%T" && cd /var/www/ && pwd && cd fivemods/ && rm -rfv dev-html/ && git clone -b awesomecore https://${{ secrets.UNAME }}:${{ secrets.UPW }}@github.com/FiveMods/fivemods.net.git && ls -l && pwd && mv fivemods.net dev-html/ && chmod 755 dev-html && echo "Done, moved to dev checkout on https://dev.fivemods.net/." && echo "Stoptime:" && date +"%T" && exit host: ${{ secrets.HOST_IP }} username: ${{ secrets.USERNAME }} port: ${{ secrets.PORT }} diff --git a/.github/workflows/live-cicd-service.yml b/.github/workflows/live-cicd-service.yml index a1b66e9b..bfebbba0 100644 --- a/.github/workflows/live-cicd-service.yml +++ b/.github/workflows/live-cicd-service.yml @@ -42,7 +42,7 @@ jobs: - name: SSH connect uses: garygrossgarten/github-action-ssh@v0.5.0 with: - command: cd /var/www/ && pwd && cd fivemods/ && rm -rfv html/ && git clone https://${{ secrets.UNAME }}:${{ secrets.UPW }}@github.com/FiveMods/fivemods.net.git && ls -l && pwd && mv main html/ && chmod 755 html && echo "Done, moved to master checkout on https://www.fivemods.net/." && exit + command: cd /var/www/ && pwd && cd fivemods/ && rm -rfv html/ && git clone https://${{ secrets.UNAME }}:${{ secrets.UPW }}@github.com/FiveMods/fivemods.net.git && ls -l && pwd && mv fivemods.net html/ && chmod 755 html && echo "Done, moved to master checkout on https://www.fivemods.net/." && exit host: ${{ secrets.HOST_IP }} username: ${{ secrets.USERNAME }} port: ${{ secrets.PORT }} diff --git a/.github/workflows/pre-live-branch-cicd-service.yml b/.github/workflows/pre-live-branch-cicd-service.yml index 344a8d1c..b0c9a9cf 100644 --- a/.github/workflows/pre-live-branch-cicd-service.yml +++ b/.github/workflows/pre-live-branch-cicd-service.yml @@ -42,7 +42,7 @@ jobs: - name: SSH connect uses: garygrossgarten/github-action-ssh@v0.5.0 with: - command: echo "Starttime:" && date +"%T" && cd /var/www/ && pwd && cd fivemods/ && rm -rfv pre-live-html/ && git clone -b pre-live-master https://${{ secrets.UNAME }}:${{ secrets.UPW }}@github.com/FiveMods/fivemods.net.git && ls -l && pwd && mv main pre-live-html/ && chmod 755 pre-live-html && echo "Done, moved to pre-live checkout on https://pre-live.fivemods.net/." && echo "Stoptime:" && date +"%T" && exit + command: echo "Starttime:" && date +"%T" && cd /var/www/ && pwd && cd fivemods/ && rm -rfv pre-live-html/ && git clone -b pre-live-master https://${{ secrets.UNAME }}:${{ secrets.UPW }}@github.com/FiveMods/fivemods.net.git && ls -l && pwd && mv fivemods.net pre-live-html/ && chmod 755 pre-live-html && echo "Done, moved to pre-live checkout on https://pre-live.fivemods.net/." && echo "Stoptime:" && date +"%T" && exit host: ${{ secrets.HOST_IP }} username: ${{ secrets.USERNAME }} port: ${{ secrets.PORT }} diff --git a/.github/workflows/pre-live-cicd-service.yml b/.github/workflows/pre-live-cicd-service.yml index afda125c..c15cf507 100644 --- a/.github/workflows/pre-live-cicd-service.yml +++ b/.github/workflows/pre-live-cicd-service.yml @@ -42,7 +42,7 @@ jobs: - name: SSH connect uses: garygrossgarten/github-action-ssh@v0.5.0 with: - command: echo "Starttime:" && date +"%T" && cd /var/www/ && pwd && cd fivemods/ && rm -rfv pre-live-html/ && git clone https://${{ secrets.UNAME }}:${{ secrets.UPW }}@github.com/FiveMods/fivemods.net.git && ls -l && pwd && mv main pre-live-html/ && chmod 755 pre-live-html && echo "Done, moved to pre-live checkout on https://pre-live.fivemods.net/." && echo "Stoptime:" && date +"%T" && exit + command: echo "Starttime:" && date +"%T" && cd /var/www/ && pwd && cd fivemods/ && rm -rfv pre-live-html/ && git clone https://${{ secrets.UNAME }}:${{ secrets.UPW }}@github.com/FiveMods/fivemods.net.git && ls -l && pwd && mv fivemods.net pre-live-html/ && chmod 755 pre-live-html && echo "Done, moved to pre-live checkout on https://pre-live.fivemods.net/." && echo "Stoptime:" && date +"%T" && exit host: ${{ secrets.HOST_IP }} username: ${{ secrets.USERNAME }} port: ${{ secrets.PORT }}