chore: bump version #11
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare files | |
run: | | |
mkdir InternalConversations | |
# Move everything except .git and README.md into the InternalConversations folder | |
find . -maxdepth 1 ! -name .git ! -name .github ! -name InternalConversations ! -name . ! -name README.md -exec mv {} InternalConversations/ \; | |
- name: Archive repository | |
run: | | |
zip -r "${GITHUB_REF_NAME}.zip" InternalConversations | |
cp "${GITHUB_REF_NAME}.zip" latest.zip | |
- name: Create version.txt | |
run: echo "${GITHUB_REF_NAME}" > version.txt | |
- name: Upload to FTP | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_SERVER }} | |
username: ${{ secrets.FTP_USERNAME }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
local-dir: ./ | |
server-dir: './' |