Lines Matching +full:check +full:- +full:attr

3 # release-preparation workflow
9 - stable
15 runs-on: ubuntu-latest
17 - name: Checkout
20 - name: Prepare Environment
24 - name: Check if a tag already exists
26 if git rev-parse "release-${{ env.current_version }}" >/dev/null 2>&1; then
31 - name: Create tag
32 uses: actions/github-script@v6
35 github-token: ${{ secrets.RELEASE_TOKEN }}
41 ref: `refs/tags/release-${current_version}`,
48 runs-on: ubuntu-latest
50 - name: Checkout
53 - name: Prepare Environment
57 - name: Build Archives
59 git ls-files | while read path; do
60 if git check-attr export-ignore -- "$path" | grep -q 'export-ignore: set'; then
62 rm -f "$path"
65 find . -type d -empty -delete
66 mkdir -p data/pages/playground
69 mv ${{ github.event.repository.name }} "dokuwiki-${{ env.current_file }}"
70 tar -czvf "dokuwiki-${{ env.current_file }}.tgz" dokuwiki-${{ env.current_file }}
71 zip -r "dokuwiki-${{ env.current_file }}.zip" dokuwiki-${{ env.current_file }}
72 rm -rf "dokuwiki-${{ env.current_file }}"
74 mv "dokuwiki-${{ env.current_version }}.tgz" ${{ github.event.repository.name }}/
75 mv "dokuwiki-${{ env.current_version }}.zip" ${{ github.event.repository.name }}/
77 - name: Release to Github
79 uses: softprops/action-gh-release@v1
82 tag_name: release-${{ env.current_version }}
84 dokuwiki-${{ env.current_file }}.tgz
85 dokuwiki-${{ env.current_file }}.zip
94 runs-on: ubuntu-latest
96 - name: Download
98 wget ${{ needs.build.outputs.url }} -O dokuwiki-${{ needs.build.outputs.file }}.tgz
100 - name: Setup SSH Key
101 uses: shimataro/ssh-key-action@v2
104 # generate with ssh-keyscan -H <server>
107 - name: Deploy to Server
109 …scp "dokuwiki-${{ needs.build.outputs.file }}.tgz" ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}…
110 ….SSH_USER }}@${{ secrets.SSH_HOST }} "cd htdocs/src/dokuwiki/ && tar -xzvf dokuwiki-${{ needs.buil…