@@ -25,6 +25,7 @@ jobs:
|
|||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
port: ${{ secrets.SSH_PORT || '22' }}
|
port: ${{ secrets.SSH_PORT || '22' }}
|
||||||
script: |
|
script: |
|
||||||
|
git clone https://tea.ahmza.com/ahmza/ahmza-dad.git /home/${{ secrets.SSH_USER }}/repo
|
||||||
cp /home/${{ secrets.SSH_USER }}/repo/index.html /usr/share/nginx/html/
|
cp /home/${{ secrets.SSH_USER }}/repo/index.html /usr/share/nginx/html/
|
||||||
cp /home/${{ secrets.SSH_USER }}/repo/styles.css /usr/share/nginx/html/
|
cp /home/${{ secrets.SSH_USER }}/repo/styles.css /usr/share/nginx/html/
|
||||||
nginx -s reload
|
nginx -s reload
|
||||||
|
|||||||
Reference in New Issue
Block a user