feat(links): include link to newest blog post #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# push site to prod server on main commit/merge | |
on: | |
push: | |
branches: | |
- main | |
name: Deploy website (prod) over SFTP | |
jobs: | |
deploy_job: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Deploy file(s) | |
uses: wlixcc/SFTP-Deploy-Action@v1.2.4 | |
with: | |
server: ${{ secrets.sftp_server }} | |
username: ${{ secrets.sftp_username }} | |
password: ${{ secrets.sftp_password }} | |
port: 22 | |
local_path: './*' | |
remote_path: ${{ secrets.sftp_remote_path_prod }} | |
- name: Deploy file(s) | |
uses: wlixcc/SFTP-Deploy-Action@v1.2.4 | |
with: | |
server: ${{ secrets.sftp_server }} | |
username: ${{ secrets.sftp_username }} | |
password: ${{ secrets.sftp_password }} | |
port: 22 | |
local_path: './*' | |
remote_path: ${{ secrets.sftp_remote_path_prod }} |