Skip to content

Commit

Permalink
Merge pull request #9 from FiveMods/dev
Browse files Browse the repository at this point in the history
Changes on actions
  • Loading branch information
Phxl76 committed Dec 21, 2020
2 parents fac944c + 1f25df1 commit 2639eba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-cicd-service.yml
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/live-cicd-service.yml
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-live-branch-cicd-service.yml
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-live-cicd-service.yml
Expand Up @@ -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 }}
Expand Down

0 comments on commit 2639eba

Please sign in to comment.