diff --git a/.github/workflows/admin-sample.cd.yml b/.github/workflows/admin-sample.cd.yml index c03044ba9c..87176d8ac0 100644 --- a/.github/workflows/admin-sample.cd.yml +++ b/.github/workflows/admin-sample.cd.yml @@ -78,12 +78,12 @@ jobs: - name: Delete DataProtectionCertificate.pfx run: | - rm DataProtectionCertificate.pfx + rm AdminPanel/src/AdminPanel.Server/DataProtectionCertificate.pfx - name: Extract identity certificate from env uses: timheuer/base64-to-file@v1.2 with: - fileDir: './' + fileDir: './AdminPanel/src/AdminPanel.Server/' fileName: 'DataProtectionCertificate.pfx' encodedString: ${{ secrets.API_DATA_PROTECTION_CERTIFICATE_FILE_BASE64 }} diff --git a/.github/workflows/todo-sample.cd.yml b/.github/workflows/todo-sample.cd.yml index c2f1d3da97..fe8a7e7db1 100644 --- a/.github/workflows/todo-sample.cd.yml +++ b/.github/workflows/todo-sample.cd.yml @@ -77,12 +77,12 @@ jobs: - name: Delete DataProtectionCertificate.pfx run: | - rm DataProtectionCertificate.pfx + rm TodoSample/src/TodoSample.Server/DataProtectionCertificate.pfx - name: Extract identity certificate from env uses: timheuer/base64-to-file@v1.2 with: - fileDir: './' + fileDir: './TodoSample/src/TodoSample.Server/' fileName: 'DataProtectionCertificate.pfx' encodedString: ${{ secrets.API_DATA_PROTECTION_CERTIFICATE_FILE_BASE64 }}