diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 57518f7..f9c13fa 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -11,7 +11,7 @@ jobs: - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - run: echo "83.172.39.220 gitea.home.com" >> /etc/hosts - run: apt update && apt upgrade -y && apt install -y curl ca-certificates - - run: curl -k "https://gitea.home.com:3000/TolaMironcenko/certs/raw/branch/main/root/TolaMironcenkoCA.pem" -H "accept: application/json" -H "Authorization: token d57cf51c49b425b42148e5a56882f8330bde011c" -o TolaMironcenkoCA.pem + - run: curl --user TolaMironcenko:d57cf51c49b425b42148e5a56882f8330bde011c -k "https://gitea.home.com:3000/TolaMironcenko/certs/raw/branch/main/root/TolaMironcenkoCA.pem" -o TolaMironcenkoCA.pem - run: cp -v TolaMironcenkoCA.pem /usr/share/ca-certificates/TolaMironcenkoCA.crt && update-ca-certificates - name: Check out repository code uses: actions/checkout@v3