diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml new file mode 100644 index 0000000..b9ba11e --- /dev/null +++ b/.github/workflows/github-actions-demo.yml @@ -0,0 +1,27 @@ +name: GitHub Actions Demo +run-name: ${{ github.actor }} is testing out GitHub Actions +on: [push] +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." + - name: Check out repository code + uses: actions/checkout@v3 + - shell: bash + run: | + make build_tar_gz + env: + TRAVIS_BRANCH: 0.21 + + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - name: Upload tar.gz files + uses: actions/upload-artifact@v2 + with: + name: tarball-artifacts + path: | + *.tar.gz + - run: echo "job's status is ${{ job.status }}." + diff --git a/openvpn/ovpn_isexist_user.sh b/openvpn/ovpn_isexist_user.sh index e3fcb2c..15323bc 100755 --- a/openvpn/ovpn_isexist_user.sh +++ b/openvpn/ovpn_isexist_user.sh @@ -13,7 +13,8 @@ then echo "user is not set!" exit 1 else - ls /etc/openvpn/client/keys/$user + # ls /etc/openvpn/client/keys/$user + ls /root/openvpn/softs/easy-rsa/easyrsa3/pki/private/$user.key # ls /tmp/keys/$user #echo "/tmp/keys/$user"