Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
mattco98 committed Jun 24, 2023
1 parent 1dbee09 commit 12266f2
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/javadocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: javadocs

on:
push:
tags:
- '**'
# tags:
# - '**'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -54,3 +54,19 @@ jobs:
key: ${{ secrets.ACTIONS_DEPLOYER_SSH_KEY }}
passphrase: ${{ secrets.ACTIONS_DEPLOYER_PASSPHRASE }}
script: chmod -R g+w /srv/www/static/home/new-javadocs

- name: Set tag variable
id: tag
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT

- name: Create archives zip file
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.ACTIONS_DEPLOYER_USERNAME }}
key: ${{ secrets.ACTIONS_DEPLOYER_SSH_KEY }}
passphrase: ${{ secrets.ACTIONS_DEPLOYER_PASSPHRASE }}
script: |
echo "GIT_TAG=${{ steps.tag.outputs.tag }}"
# cd /srv/www/static/home
# cp -r /srv/www/static/home

0 comments on commit 12266f2

Please sign in to comment.