modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-07-01 04:25:55 +08:00
parent e7da678978
commit bfa0c3ed0a

View File

@ -272,16 +272,20 @@ jobs:
sudo rm *.vdi sudo rm *.vdi
sudo rm *.img sudo rm *.img
# - name: Create Publish Directory - name: Create Publish Directory
# run: | run: |
# mkdir ./publish mkdir ./publish
# cp CHANGELOG.txt ./publish/ cp CHANGELOG.txt ./publish/
# cp mikrotik-$LATEST_VERSION.iso ./publish/ cp ./new_iso/*.npk ./publish/
# cp chr-$LATEST_VERSION*.zip ./publish/
# cp netinstall-$LATEST_VERSION.zip ./publish/ - name: Sync files
# cp install-image-$LATEST_VERSION.zip ./publish/ uses: SamKirkland/FTP-Deploy-Action@v4.3.5
# cp all_packages-x86-$LATEST_VERSION.zip ./publish/ with:
# cp ./new_iso/*.npk ./publish/ server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
server-dir: "${{ secrets.FTP_DIRECTORY }}/${{ env.LATEST_VERSION }}/"
local-dir: ./publish/
- name: Delete Release tag ${{ env.LATEST_VERSION }} - name: Delete Release tag ${{ env.LATEST_VERSION }}
run: | run: |