Add support for 1.20 #32
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
name: Build Angular | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Remove not-wanted files in server | |
run: "rm -r README.md .git .github" | |
- uses: actions/upload-artifact@v3 | |
name: Upload Artifact | |
with: | |
name: FindMyAC | |
path: "./*" | |
- name: Copy repository contents | |
uses: wangyucode/[email protected] | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
port: ${{ secrets.PORT }} | |
privateKey: ${{ secrets.SSHKEY }} | |
passphrase: ${{ secrets.PASSPHRASE }} | |
localDir: "./" | |
remoteDir: "/var/www/findmyac" | |
dryRun: false | |
forceUpload: true |