Skip to content

Commit 231062f

Browse files
committed
chore: Finalizes task 5
1 parent b08c440 commit 231062f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

task-5/README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Task 5 - 1
22

3-
Last week the management team was not pleased when they checked the company website and realized that it is a version from 2 months ago. The developer responsible for the website said that locally and in the repository there is up to date version of the website. After short investigation it turned out that they forgot to deploy the website to the server. Your task now is to add website deployment to the pipeline. Whenever there are changes to website directory and the commit is on the main branch the website should be deployed to the server.
3+
Your task now is to add website deployment to the pipeline. Whenever there are changes to website directory and the commit is on the main branch the website should be deployed to the server.
44

55
The website is configured to be deployed to firebase, but you can choose any other hosting provider.
66

@@ -16,6 +16,12 @@ The website is configured to be deployed to firebase, but you can choose any oth
1616
<summary>Those hints will help you start</summary>
1717

1818
- [secrets](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions)
19+
- [variables](https://docs.github.com/en/actions/learn-github-actions/variables#using-the-vars-context-to-access-configuration-variable-values)
20+
- Firebase
21+
- [Firebase deploy action](https://github.com/FirebaseExtended/action-hosting-deploy)
22+
- [Action options](https://github.com/FirebaseExtended/action-hosting-deploy?tab=readme-ov-file#options)
23+
- [Firebase Service Account](https://github.com/FirebaseExtended/action-hosting-deploy/blob/main/docs/service-account.md)
24+
- [How to create firebase project](../website/README.md)
1925

2026
</details>
2127

@@ -27,7 +33,7 @@ The website is configured to be deployed to firebase, but you can choose any oth
2733

2834
## Task 5 - 2
2935

30-
In this version do the PoC version of the task. Instead of actually deploying the website to the server, print the login and password that is stored in GitHub secrets. (Hint: don't use real credentials)
36+
In this version do the PoC version of the task. Instead of actually deploying the website to the server, print the login and password that is stored in GitHub secrets.
3137

3238
## Definition of done
3339

@@ -38,12 +44,5 @@ In this version do the PoC version of the task. Instead of actually deploying th
3844
<details>
3945
<summary>Those hints will help you start</summary>
4046

41-
- `npm run e2e`
42-
- [artifacts](https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts#uploading-build-and-test-artifacts)
43-
</details>
44-
45-
<details>
46-
<summary>In case you are stuck, you can use the resources listed below. Try to first look yourself. The resources are listed in the order from minimal to full help</summary>
47-
48-
1. [Branch with ready solution]()
47+
- [secrets](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions)
4948
</details>

0 commit comments

Comments
 (0)